package com.amoyt.project.domain.dto.insert;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Date: 2025/8/25
 * @Time: 16:46
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文章添加类")
public class ArticleAddDto {

    @Schema(description = "文章标题")
    private String articleTitle;
    @Schema(description = "图片显示")
    private String imageTitle;

    @Schema(description = "项目编号")
    private String projectId;
    @Schema(description = "分类(1-公示公告,2-通知公告,3-意见征集公告,4-新闻发布)")
    private Integer category;
    @Schema(description = "发布单位")
    private String publisherUnit;
    @Schema(description = "发布状态(0-草稿-默认,1-已发布)")
    private Integer isPublished;

    @Schema(description = "作者")
    private String publisherName;

    @Schema(description = "是否公开信息(0-默认不公开，1-公开)")
    private Integer isOpen;

    @Schema(description = "内容块列表")
    private List<ContentBlockAddDto> contentBlockList;
}
